package com.yzh.design.demo.cuisine.impl;

import com.yzh.design.demo.cook.ICook;
import com.yzh.design.demo.cuisine.ICuisine;

import javax.annotation.Resource;

public class GuangDongCuisine implements ICuisine {

    private ICook cook;
    public GuangDongCuisine(ICook cook) {
        this.cook = cook;
    }
    @Override
    public void cook() {
        cook.doCooking();
    }
}
